using FreeSql.DatabaseModel;using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace LdtJudge.DataEngine.Model.DataModel.DataParseStorage
{

	/// <summary>
	/// 案件实体对应角色
	/// </summary>
	[JsonObject(MemberSerialization.OptIn), Table(Name = "an_anjianshitijuese", DisableSyncStructure = true)]
	public partial class An_anjianshitijuese {

		/// <summary>
		/// 主键
		/// </summary>
		[JsonProperty, Column(Name = "jueseid", StringLength = 36, IsPrimary = true, IsNullable = false)]
		public string Jueseid { get; set; }

		/// <summary>
		/// 外键ID
		/// </summary>
		[JsonProperty, Column(Name = "anjianshitiid", StringLength = 36)]
		public string Anjianshitiid { get; set; }

		/// <summary>
		/// 发言人名称
		/// </summary>
		[JsonProperty, Column(Name = "fayanrenmingcheng", StringLength = 36)]
		public string Fayanrenmingcheng { get; set; }

		/// <summary>
		/// 角色名称
		/// </summary>
		[JsonProperty, Column(Name = "juesemingcheng", StringLength = 100)]
		public string Juesemingcheng { get; set; }

		/// <summary>
		/// 角色诉讼地位
		/// </summary>
		[JsonProperty, Column(Name = "juesesusongdiwei", StringLength = 36)]
		public string Juesesusongdiwei { get; set; }

		/// <summary>
		/// 诉讼地位名称
		/// </summary>
		[Column(IsIgnore =true)]
		public string SusongDiwei { get; set; }

		/// <summary>
		/// 角色序号
		/// </summary>
		[JsonProperty, Column(Name = "juesexuhao")]
		public int? Juesexuhao { get; set; }

		/// <summary>
		/// 主张方集合
		/// </summary>
		[JsonProperty, Column(Name = "zhuzhangfangjihe", StringLength = 200)]
		public string Zhuzhangfangjihe { get; set; }

		/// <summary>
		/// 主张方类型
		/// </summary>
		[JsonProperty, Column(Name = "zhuzhangfangleixing", StringLength = 100)]
		public string Zhuzhangfangleixing { get; set; }
		/// <summary>
		/// 当事人类型
		/// </summary>
		[Column(IsIgnore =true)]
		public string Dangshirenleixing { get; set; }

		/// <summary>
		/// 案件实体
		/// </summary>
		//[Navigate(nameof(Anjianshitiid))]
		//public virtual An_anjianshiti Anjianshiti { get; set; }

	}

}
